		<div class="sidebar col-md-2">
<?php if (isset($menus['lv2_group'])) { ?>
			<ul class="nav nav-my nav-stacked">
<?php
		foreach ($menus['lv2_group'] as $key => $menu) {
			if (isset($menu['group']) && $menu['group'] == '') {
                $active_class = '';
                if (isset($menu['_css_class'])) $active_class = ' class="active"';
                $url = site_url(DIRECTORY_NAME . $menu['name']);
?>
                <li<?php echo $active_class; ?>><a href="<?php echo $url; ?>"><?php echo $menu['title']; ?></a></li>
<?php
			} else {
?>
                <li>
                    <a data-toggle="collapse" href="#collapse-1"><?php echo $key; ?><i class="fr glyphicon glyphicon-chevron-down"></i></a>
                    <ul id="collapse-1" class="collapse in list-group">
<?php
                foreach($menu as $_menu) {
                    $active_class = '';
                    if (isset($_menu['_css_class'])) $active_class = ' active';
                    $url = site_url(DIRECTORY_NAME . $_menu['name']);
?>
                    	<li class="<?php echo $active_class; ?>"><a href="<?php echo $url; ?>"><?php echo $_menu['title']; ?></a></li>
<?php
                }
?>
                     </ul>
                </li>
<?php
			}
		}
?>
			</ul>
<?php } ?>
		</div>
		<!--/.sidebar -->
